<?php
use yii\helpers\Html;
?>
<?php $this->beginPage()?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags()?>
    <title><?= Html::encode($this->title) ?></title>
    <script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"
            type="text/javascript"></script>
    <?php $this->head()?>
    <link href="/assets/81049ce1/css/bootstrap.css?v=1526265810" rel="stylesheet">
    <link href="/assets/4f08c351/dist/css/bootstrap-dialog.css?v=1526278332" rel="stylesheet">
    <style>.bootstrap-dialog .modal-header.bootstrap-dialog-draggable{cursor:move}</style>
</head>
<body class="hold-transition skin-blue sidebar-mini sidebar-collapse">
<?php $this->beginBody()?>
<div style="padding:10px">
    <div class="wrapper">
        <div >可能识别的结果如下：</div>
        <a class="btn btn-success">
            <?php foreach ($arr as $k=>$v){
                $res = str_replace("\"","</br>",$v);
                echo "&nbsp;".$res."</br>";
            };?>
        </a>
    </div>
</div>
<?php $this->beginBody()?>
</body>
<script>
    function getCookie(name)
    {
        var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)");
        if(arr=document.cookie.match(reg))
            return unescape(arr[2]);
        else
            return null;
    }
    if (getCookie("asr_end")=="" || getCookie("asr_end")==null){
        function refresh(){
            history.go(0);//可以换成上一篇博客的任何一种方法。
        }
        setInterval(refresh, 1000);
    }
</script>

</html>
<?php $this->endPage()?>
